package com.linuxgt.pattern.command.scheme2;

/**
 * Created by LIUTENG on 2015-01-09.
 */
public class RequestMakedir {
    Command command;

    public void setCommand(Command command) {
        this.command = command;
    }

    public void startExecuteCommand(String name) {
        command.execute(name);
    }

    public void undoCommand() {
        command.undo();
    }
}
